import {createApp} from "vue"
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus' 
import 'element-plus/dist/index.css'
// 完整加载
import VueLuckyCanvas from '@lucky-canvas/vue'

import vantConfig from '@/untils/vant-config'
import 'vant/lib/index.css';
import { TurnTable } from "@nutui/nutui-bingo";
import "@nutui/nutui-bingo/dist/style.css";



//pinia
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //持久化插件
import {VueMasonryPlugin} from 'vue-masonry';
import Varlet from '@varlet/ui'
import '@varlet/ui/es/style'

const app = createApp(App)
app.use(VueMasonryPlugin)
app.use(VueLuckyCanvas)
app.use(Varlet)





const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(router)
app.use(vantConfig)
app.use(TurnTable)

app.use(pinia)
app.use(ElementPlus)

app.mount('#app')


